package com.swt.gap.dao;

import com.swt.gap.model.entity.Model;
import com.swt.gap.model.entity.ModelWithBLOBs;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ModelMapper {
    int deleteByPrimaryKey(Integer modelId);

    int insertSelective(Model record);

    ModelWithBLOBs selectByPrimaryKey(Integer modelId);

    int updateByPrimaryKeySelective(Model record);

    List<Model> selectByClassId(Integer modelClassId);
}